package com.hqyj.service;

import com.hqyj.pojo.Goods;
import com.hqyj.pojo.ResponseResult;
import com.hqyj.pojo.ResultVoH;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author rock
 * @since 2022-10-03
 */
public interface IGoodsService extends IService<Goods> {

    /*查询商品信息*/
    ResultVoH queryAllByStorageType(String storageType);

    ResponseResult findAll(Integer current, Integer size, String type, String suppliersName);

    ResponseResult getType();

    ResponseResult getSuppliers();

    ResponseResult insertGoods(Goods goods);

    ResultVoH goodsList(Goods goods);

    ResultVoH goodsChange(Goods goods);

    ResultVoH goodsAdd(Goods goods);

    ResultVoH add(Goods goods);
}
